package com.uacp.sgb.datos.dominio.entidades;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@NamedQueries
({
	@NamedQuery(name = "Mueble.listar",
			query = "SELECT m FROM Mueble m"),
	@NamedQuery(name = "Mueble.listarMueblesAlta",
		query = "SELECT m FROM Mueble m where m.condicion = 'alta' and m.area.dependencia = :dependencia"),
	@NamedQuery(name = "Mueble.listarMueblesTrabajador",
		query = "SELECT m FROM Mueble m WHERE m.trabajador.nroDoc = :nroDoc and m.condicion = 'alta'")
})
public class Mueble extends Bien implements Serializable
{
	private String material;
	private String color;
	private String dimension;
	
	public String getMaterial() {
		return material;
	}
	public void setMaterial(String material) {
		this.material = material;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getDimension() {
		return dimension;
	}
	public void setDimension(String dimension) {
		this.dimension = dimension;
	}
}
